home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Palettes / MiscShell / TODO < prev   
Encoding:
Text File  |  1994-09-25  |  2.3 KB  |  72 lines

  1. TODO
  2.  
  3. If stdout is a matrix, maybe each line of stdout goes to
  4.     a successive object in the matrix.  Maybe it grows the
  5.     matrix if necessary.
  6.  
  7.     
  8. Maybe something like this for target/action?  i.e. every time it
  9. sends an action to the target, it checks if the target is a matrix
  10. and grows it if necessary.
  11.  
  12.     - not really needed, we can drive a DBTableView now
  13.  
  14. Set an env variable "bundleDir" or something that the script can use
  15. to locate its main bundle.
  16.     - done - won't work in test mode though
  17.     - what should this be in IB test mode?
  18.  
  19. Allow the user to choose a different interpreter in the inspector
  20. (perl, csh, sqlplus.)  Would need to give both an interpreter and an argument, i.e. "csh -c", "perl -e", "sqlplus <".  Using "sqlplus <" would require
  21. jiggering file descriptors around
  22.  
  23. Handle more output objects
  24.     Forms
  25.     NXTableView  (not just DBTableView
  26.     Matrices ?
  27.     Radio Buttons
  28.     Multi-column browsers
  29.         maybe it could map output like this
  30.         
  31.         Foo
  32.             bar
  33.                 baz
  34.             blah
  35.             blah2
  36.         Foo2
  37.         
  38.         into a browser.... hmmm...
  39.     
  40. Should it be a subclass of MiscStringArray, which already knows how
  41. to drive a browser?
  42.     - changed it so it owns a MiscStringArray and a MiscSubprocess
  43.       and just coordinates the actions
  44.  
  45. A fancy Connections Inspector so that you can give meaningful names
  46. to the variables, not just "v1", "v2" etc.  (Not sure how this would work.)
  47.  
  48. Automatic "looping" - execution of the script every N seconds.
  49.     - could be done with the Timer thing on the TTools palette
  50.     
  51. React to column reording in DBTableViews 
  52.     - be the delegate of the table view
  53.     - resort output internally?  send signal to subprocess?
  54.     
  55.     
  56. A way to indicate that a certain script should be run as root, or
  57. some other user - and the MiscShell object will prompt for and
  58. verify the password.  (but the app would have to be setuid)
  59.  
  60. Set vars as environment variables rather than "var=value" additions to
  61. the script.   This way you don't need to care if the user is running
  62. sh or csh or perl.
  63.  
  64. Support for MiscRemoteSubprocess.  Maybe a takeHostFrom:sender method so
  65. you could have an object in the UI where the user types the name of
  66. the machine that this thing shouldrun on
  67.  
  68. Set the $PATH to include the bundle dir
  69.     that way, you could have buttons send [miscShell executeFromStringValue]
  70.     or whatever, which would select different scripts inside
  71.     the app wrapper
  72.